docker COMANDO CREAR postgres-db
Discover gists
#!/bin/bash | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
import shutil, tempfile, modal, uuid, os, boto3, ffmpeg, logging | |
from enum import Enum | |
from pydantic import BaseModel | |
from typing import Optional, Dict, List, Any | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
app_image = ( | |
modal.Image.debian_slim() | |
.apt_install("ffmpeg") | |
.pip_install("ffmpeg-python", "boto3") |
The only way I've succeeded so far is to employ SSH.
Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config
file in a .ssh
directory. The config
file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh
directory by default. You can navigate to it by running cd ~/.ssh
within your terminal, open the config
file with any editor, and it should look something like this:
Host * AddKeysToAgent yes
> UseKeyChain yes
%% /** --------------------------------------------------------- | |
%% a file full of squeezing options | |
%% -- which you should try to avoid | |
%% ------------------------------------------------------------- | |
%% | |
%% from: | |
%% http://www.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html | |
%% ---------------------------------------------------------- */ | |
%% * Page Layout | |
%% o \columnsep: gap between columns |
# Build arguments for the gn build | |
# You can set these with `gn args out/Default` | |
# ( and they're stored in src/out/Default/args.gn ) | |
# See "gn args out/Default --list" for available build arguments | |
# component build, because people love it | |
is_component_build = true | |
# release build, because its faster | |
is_debug = true |
"""Entrypoint to invoke the FastAPI application service with.""" | |
from fastapi import FastAPI, status | |
from pydantic import BaseModel | |
import uvicorn | |
app = FastAPI() | |
class HealthCheck(BaseModel): |
note: Firefox will be subsequently called FckUfox in this doc
- your SSD/HDD https://www.servethehome.com/firefox-is-eating-your-ssd-here-is-how-to-fix-it/
- your privacy since it calls ~50 domains UNASKED
- your nerves, since ~ FckUFx v100 it silenty eats your about:sessionrestore when killed with e.g.
killall -9 fckufox